package test1.www.lagou.entity;

import java.io.Serializable;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 3:21 下午 2021/5/10
 */
public class Account implements Serializable {
    private static final long serialVersionUID = 1929329582664808213L;
    private int id;
    private String userName;
    private String card;
    private double balance;

    public Account() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", card='" + card + '\'' +
                ", balance=" + balance +
                '}';
    }
}
